package com.superjson.showpro.service;

import com.superjson.showpro.base.GenericService;
import com.superjson.showpro.entity.ArticleCatalog;
import com.superjson.showpro.shared.result.Result;

import java.util.List;

public interface ArticleCatalogService extends GenericService<ArticleCatalog> {

    Result<List<ArticleCatalog>> listByParent(Long parentId);

    Result saveAc(ArticleCatalog articleCatalog,Long parentId);

    Result<List<ArticleCatalog>> list(boolean nullParent);
}